package com.vast.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.vast.system.entity.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

@ApiModel(value="com.vast.admin.entity.CompanyAccount")
@Data
@TableName(value = "company_account")
public class CompanyAccount extends SuperEntity implements Serializable {

    /**
     * 类型
     */
    @TableField(value = "type")
    @ApiModelProperty(value="类型")
    private Integer type;

    /**
     * 状态 1-正常 0- 禁用
     */
    @TableField(value = "status")
    @ApiModelProperty(value="状态 1-正常 0- 禁用")
    private Integer status;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @ApiModelProperty(value="备注")
    private String remark;

    /**
     * 企业id
     */
    @TableField(value = "company_id")
    @ApiModelProperty(value="企业id")
    private Long companyId;

    /**
     * 金额
     */
    @TableField(value = "money")
    @ApiModelProperty(value="金额")
    private BigDecimal money;

    /**
     * 公司名称
     */
    @TableField(exist = false)
    @ApiModelProperty(value="公司名称")
    private String companyName;
    /**
     * 法定代表人
     */
    @TableField(exist = false)
    @ApiModelProperty(value="法定代表人")
    private String legalPerson;

    /**
     * 联系方式
     */
    @TableField(exist = false)
    @ApiModelProperty(value="联系方式")
    private String contactMobile;

    /**
     * 充值支付类型 1 - 支付宝, 2-微信, 3.现金, 4其它
     */
    @TableField(exist = false)
    @ApiModelProperty(value="充值支付类型 1 - 支付宝, 2-微信, 3.现金, 4其它")
    private String paymentType;

    /**
     * 操作 1- 充值 2 消费
     */
    @TableField(exist = false)
    @ApiModelProperty(value="操作 1- 充值 2 消费")
    private Integer operation;

    private static final long serialVersionUID = 1L;

    public static final String COL_COMPANY_ID = "company_id";

    public static final String COL_MONEY = "money";
}